package com.idriver.bean;

import java.sql.Date;
import java.sql.Timestamp;

public class Student {

    private int id;

    private String name;

    private String sex;

    private Date birthday;

    private String mail;

    private String mark;

    private Timestamp created;

    public Student(int id, String name, String sex, Date birthday, String mail, String mark, Timestamp created) {
        this.id = id;
        this.name = name;
        this.sex = sex;
        this.birthday = birthday;
        this.mail = mail;
        this.mark = mark;
        this.created = created;
    }

    public Student() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public String getMail() {
        return mail;
    }

    public void setMail(String mail) {
        this.mail = mail;
    }

    public String getMark() {
        return mark;
    }

    public void setMark(String mark) {
        this.mark = mark;
    }

    public Timestamp getCreated() {
        return created;
    }

    public void setCreated(Timestamp created) {
        this.created = created;
    }

    @Override
    public String toString() {
        return "Student{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", sex='" + sex + '\'' +
                ", birthday=" + birthday +
                ", mail='" + mail + '\'' +
                ", mark='" + mark + '\'' +
                ", created=" + created +
                '}';
    }
}
